package com.xingkeduo.business.user.event;

import com.xingkeduo.pojo.enums.SendingTypeEnum;
import com.xingkeduo.pojo.utils.MpUtils;

/**
 * @Description:
 * @Author:gaozifeng
 * @Date 2019/7/18 11:21
 **/
public class EvenBaseDTO {

    /**
     * 公众号客户id
     */
    private String openId;

    /**
     * 公众号唯一标识，区分多公众号
     */
    private String mpId;

    public EvenBaseDTO() {
    }

    public EvenBaseDTO(String openId, String mpId) {
        this.openId = openId;
        this.mpId = MpUtils.checkGetMpId(mpId);
    }

    private SendingTypeEnum sendingTypeEnum;

    public String getOpenId() {
        return openId;
    }

    public EvenBaseDTO setOpenId(String openId) {
        this.openId = openId;
        return this;
    }

    public String getMpId() {
        return mpId;
    }

    public EvenBaseDTO setMpId(String mpId) {
        this.mpId = mpId;
        return this;
    }

    public SendingTypeEnum getSendingTypeEnum() {
        return sendingTypeEnum;
    }

    public EvenBaseDTO setSendingTypeEnum(SendingTypeEnum sendingTypeEnum) {
        this.sendingTypeEnum = sendingTypeEnum;
        return this;
    }
}
